package com.ruoyi.applet.mapper;

import java.util.List;
import com.ruoyi.applet.domain.ProductSpecs;
import org.apache.ibatis.annotations.Param;

/**
 * 商品规格关联Mapper接口
 * 
 * @author ruoyi
 * @date 2024-11-25
 */
public interface ProductSpecsMapper 
{
    Integer updateProductNumberAndProductSpecId(@Param("stock") Long stock,@Param("productSpecValueId") Long productSpecValueId);

    ProductSpecs selectAllByProductSpecIdProductSpecs(@Param("productId") Long productId);
}
